package com.gullmall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gullmall.common.utils.PageUtils;
import com.gullmall.common.utils.R;
import com.gullmall.ware.entity.vo.MergeVo;
import com.gullmall.ware.entity.PurchaseEntity;
import com.gullmall.ware.entity.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author lidai
 * @email 332617778@qq.com
 * @date 2022-05-19 17:00:30
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils unReceiveList(Map<String, Object> params);

    R mergePurchase(MergeVo mergeVo);

    R receive(List<Long> purchaseIds);

    R done(PurchaseDoneVo purchaseDoneVo);
}

